package com.android.porttallymansystem.logic.model

import android.graphics.Bitmap
import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey

@Entity(indices = [Index(value = ["phone"], unique = true), Index(value = ["email"], unique = true)])
data class User(
    val name: String,
    val gender: String,
    val age: Int,
    var profile: Int,
    val password: String,
    val phone: String,
    val email: String
) {

    @PrimaryKey(autoGenerate = true)
    var id: Long = 0
}